import requests
import json
import pandas as pd
def bicycle(key,origin,destination):
#获取高德API骑行路径规划
    url = 'https://restapi.amap.com/v4/direction/bicycling?parameters'
    params = {
        "key":key,
        "origin":origin,
        "destination":destination
    }
    r = requests.get(url,params=params)
    result = r.json()
    return result